import App from './App'
import Vue from 'vue'
import uView from "@/uni_modules/uview-ui";
Vue.use(uView);
uni.$u.config.unit = 'rpx'
import utils from "utils/utils.js"
import pay from "@/utils/pay.js"
import Base64 from '@/utils/base64.js'
Vue.prototype.pay = pay
Vue.prototype.$utils = utils;
Vue.prototype.$base64 = Base64;

// import引入api.js并添加到Vue实例上
import api from "api/api.js"
Vue.prototype.$api = api;


Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()